;Void ScanLineRGB24ToARGB32_V4(
;                Pixel* dst, Pixel* src, Int32 stride)

;;R0 = dst, R1 = src, R2 = stride

        AREA sample, CODE, READONLY
   EXPORT  ScanLineRGB24ToARGB32_V4
ScanLineRGB24ToARGB32_V4

	STMFD	SP!, {R4, R5, R6, LR}
    LDMIA   R1!, {R3-R6}

_ScanLineRGB24ToARGB32_V4_Loop

    ORR     R3, R3, #0xFF000000
    ORR     R4, R4, #0xFF000000
    ORR     R5, R5, #0xFF000000
    ORR     R6, R6, #0xFF000000

    STMIA   R0!, {R3-R6}

	SUBS    R2, R2, #1

    LDMNEIA R1!, {R3-R6}

    BNE     _ScanLineRGB24ToARGB32_V4_Loop


_ScanLineRGB24ToARGB32_V4_End
	LDMFD	SP!, {R4, R5, R6, PC}

    END


